package eu.scillman.math;

import static java.lang.Math.*;

/**
 * @deprecated Just some notes, they will not work!
 * @author Jiri Waning
 */
public class SimpleMath {
	public static double distance(double x1, double x2, double y1, double y2) {
		return sqrt(pow((x2 - x1), 2) + pow((y2 - y1), 2));
	}
	
	public static double distance(double x1, double x2, double y1, double y2, double z1, double z2) {
		return sqrt(pow((x2 - x1), 2) + pow((y2 - y1), 2) + pow((z2 - z1), 2));
	}
}
